home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 16 / AMIGAplus Sonderheft 16 (1998)(ICP)(DE)[!].iso / pd / anwendungen / rtgmaster_dev / includes / stormc / rtgmaster / rtgami.h next >
C/C++ Source or Header  |  1998-02-13  |  2KB  |  102 lines

  1. /*
  2. **     $VER: rtgAMI 1.005 (09 Oct 1997)
  3. */
  4.  
  5. #ifndef RTGAMI_H
  6. #define RTGAMI_H TRUE
  7.  
  8. #ifndef RTGSUBLIBS_H
  9. #include <include:rtgmaster/rtgsublibs.h>
  10. #endif
  11.  
  12. #ifndef RTGMASTER_H
  13. #include <include:rtgmaster/rtgmaster.h>
  14. #endif
  15.  
  16. #ifndef EXEC_LIBRARIES_H
  17. #include <exec/libraries.h>
  18. #endif
  19.  
  20. #ifndef EXEC_TYPES_H
  21. #include <exec/types.h>
  22. #endif
  23.  
  24. #ifndef GRAPHICS_GFX_H
  25. #include <graphics/gfx.h>
  26. #endif
  27.  
  28. #ifndef GRAPHICS_RASTPORT_H
  29. #include <graphics/rastport.h>
  30. #endif
  31.  
  32. #ifndef GRAPHICS_VIEW_H
  33. #include <graphics/view.h>
  34. #endif
  35.  
  36. struct RtgBaseAMI
  37. {
  38.     struct Library LibBase;
  39.     UWORD Pad1;
  40.     ULONG  SegList;
  41.     APTR   ExecBase;
  42.     APTR   UtilityBase;
  43.     APTR   DosBase;
  44.     APTR   CGXBase;
  45.     APTR   GfxBase;
  46.     APTR   IntBase;
  47.     ULONG  Flags;
  48.     APTR   ExpansionBase;
  49.     APTR   DiskFontBase;
  50. };
  51.  
  52. struct MyPort
  53. {
  54.     struct MsgPort *port;
  55.     ULONG signal;
  56.     WORD *MouseX;
  57.     WORD *MouseY;
  58. };
  59.  
  60.  
  61. struct RtgScreenAMI
  62. {
  63.     struct RtgScreen Header;
  64.     UWORD  Locks;
  65.     struct Screen *ScreenHandle;
  66.     ULONG  PlaneSize;
  67.     ULONG  DispBuf;
  68.     ULONG  ChipMem1;
  69.     ULONG  ChipMem2;
  70.     ULONG  ChipMem3;
  71.     struct BitMap Bitmap1;
  72.     struct BitMap Bitmap2;
  73.     struct BitMap Bitmap3;
  74.     ULONG  Flags;
  75.     struct Rectangle MyRect;
  76.     BYTE   Place[52];
  77.     struct RastPort RastPort1;
  78.     struct RastPort RastPort2;
  79.     struct RastPort RastPort3;
  80.     APTR   MyWindow;
  81.     APTR   Pointer;
  82.     struct MyPort  PortData;
  83.     struct DBufInfo *dbufinfo;
  84.     ULONG DispBuf1;
  85.     ULONG DispBuf2;
  86.     ULONG DispBuf3;
  87.     ULONG SafeToWrite;
  88.     ULONG SafeToDisp;
  89.     ULONG SrcMode;
  90.     APTR   tempras;
  91.     APTR   tempbm;
  92.     APTR   wbcolors;
  93.     ULONG  Width;
  94.     ULONG  Height;
  95.     ULONG  colchanged;
  96.     APTR   colarray1;
  97.     APTR   ccol;
  98. };
  99.  
  100. #endif
  101.  
  102.